#!/bin/bash
set -e
PREFIX=/usr
for x in ${PREFIX}/lib ${PREFIX}/lib64 ${PREFIX}/local/lib; do
    if [[ -f "${x}/wine/winepath.exe.so" ]]; then
        echo $x
    fi
done